package com.h3c.nem.dto;

import java.util.Date;
import java.sql.Blob;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: SdEmailTemplateDTO
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: sd_email_template dto实体
 * Version: 1.0
 */
@ApiModel(value="SdEmailTemplate对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SdEmailTemplateDTO {


    @ApiModelProperty(value = "邮件模板ID")
    private String emailTemplateId;

    @ApiModelProperty(value = "邮件模板名称")
    private String emailTemplateName;

    @ApiModelProperty(value = "模板类型：1 沟通函模板；")
    private Integer emailTemplateType;

    @ApiModelProperty(value = "邮件标题")
    private String emailTemplateTitle;

    @ApiModelProperty(value = "邮件内容")
    private String emailTemplateContent;

    @ApiModelProperty(value = "更新人工号/姓名")
    private String updatorInfo;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date updateTime;

    @ApiModelProperty(value = "模板图片")
    private Blob emailTemplateContentPic;

    private String [] waitSendWorkerId;

    /**
     * 排序字段 + 升序， -降序
     * 比如 +updateTime 根据 修改时间升序排序，-updateTime 根据 修改时间降序排序
     */
    private String orderBy;

}
